the stack styling is applied only when there is a header, hence
when the stack node is not the notebook only child, should cure
https://bugzilla.gnome.org/show_bug.cgi?id=760996
}
}
- > stack {
+ > stack:not(:only-child) { // the :not(:only-child) is for "hidden" notebooks
background-color: $base_color;
&:backdrop { background-color: $backdrop_base_color; }
margin-bottom: 4px; }
notebook > header.left tabs tab.reorderable-page, notebook > header.right tabs tab.reorderable-page {
border-style: solid none; }
-notebook > stack {
+notebook > stack:not(:only-child) {
background-color: #292929; }
- notebook > stack:backdrop {
+ notebook > stack:not(:only-child):backdrop {
background-color: #2c2c2c; }
/**************
margin-bottom: 4px; }
notebook > header.left tabs tab.reorderable-page, notebook > header.right tabs tab.reorderable-page {
border-style: solid none; }
-notebook > stack {
+notebook > stack:not(:only-child) {
background-color: #ffffff; }
- notebook > stack:backdrop {
+ notebook > stack:not(:only-child):backdrop {
background-color: white; }
/**************